<?php

declare(strict_types=1);

namespace App\Model\WeChat;



/**
 * @property int $id 实例ID
 * @property string $background 背景图片
 * @property string $nick_font_color 昵称字体颜色
 * @property int $nick_font_size 昵称字体大小
 * @property int $is_logo_show logo是否显示
 * @property string $header_left 头部左边距
 * @property string $header_top 头部上边距
 * @property string $name_left 昵称左边距
 * @property string $name_top 昵称上边距
 * @property string $logo_left logo左边距
 * @property string $logo_top logo上边距
 * @property string $code_left 二维码左边距
 * @property string $code_top 二维码上边距
 * @property int $is_default 是否默认
 * @property int $is_remove 是否删除  0未删除 1删除
 * @property int $update_time 
 */
class WechatQrcode extends \App\Model\Model
{
    /**
     * The table associated with the model.
     */
    protected ?string $table = 'wechat_qrcode';

    /**
     * The attributes that are mass assignable.
     */
    protected array $fillable = ['id', 'background', 'nick_font_color', 'nick_font_size', 'is_logo_show', 'header_left', 'header_top', 'name_left', 'name_top', 'logo_left', 'logo_top', 'code_left', 'code_top', 'is_default', 'is_remove', 'update_time'];

    /**
     * The attributes that should be cast to native types.
     */
    protected array $casts = ['id' => 'integer', 'nick_font_size' => 'integer', 'is_logo_show' => 'integer', 'is_default' => 'integer', 'is_remove' => 'integer', 'update_time' => 'integer'];
}
